{block header}
	<div class="hero-unit">
		<h1>Seznam míst</h1>
	</div>
{/block}
{block content}
<div class="row">
	<div class="span12">
		{control grid}
	</div>
</div>
{**	<table n:if="$places" class="table table-bordered table-condensed table-striped table-hover">
		<thead>
			<th><i class="icon-calendar"></i> Vytvořeno</th>
			<th><i class="icon-user"></i> Autor</th>
			<th><i class="icon-map-marker"></i> Místo</th>
			<th>Adresa</th>
			<th><i class="icon-globe"></i> GPS</th>
			<th>Akce</th>
		</thead>
		<tbody>
			<tr n:foreach="$places as $place">
				<td>{$place->created|date:'j.n.Y'}</td>
				<td>{$place->nameUser}</td>
				<td><a n:href="detail, $place->id" class="ajax"><b>{$place->name}</b></a></td>
				<td>{$place->city}
					{if $place->city && $place->street} , {/if}
					{$place->street}
				</td>
				<td>{$place->coord}</td>
				<td>
					<a n:href="detail, $place->id" class="ajax"><i class="icon-list-alt" title="Detail místa"></i></a>
					<a n:href="edit, $place->id" class="ajax">	<i class="icon-pencil" title="Upravit místo"></i></a>
					<a n:href="delete, $place->id" class="ajax"><i class="icon-trash" title="Smazat místo"></i></a>
				</td>
			</tr>
		</tbody>
	</table>
	<p n:if="!$places">Nemáte v databázi žádná místa.</p>
*}


